import request from '@/utils/request'

export function launchInterrogation(data) {
  return request({
    url: '/websocket/send/launchInterrogation',
    method: 'post',
    data
  })
}

export function historyInterrogation(id){
  return request({
    url: '/websocket/send/historyInterrogation',
    method: 'get',
    params: {
      id
    }
  })
}
